<%-- 
    Document   : selectProduct
    Created on : Oct 24, 2013, 1:51:31 AM
    Author     : Thai Ha Cong
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <meta name="description" content="Bidding Strategy - Knapsack Problem">
        <script type='text/javaScript'>
            var sel = document.getElementsByName ('revSelect')[0];
            sel.onclick = function () {
                document.getElementsByName ('revenue')[0].value = this.value;
            }
        </script>
        <title>Bidding Strategy - Knapsack Problem</title>
        <link href="<%= request.getContextPath()%>/css/style.css" rel="stylesheet" type="text/css"/>
        <link href="<%= request.getContextPath()%>/css/adMenu.css" rel="stylesheet" type="text/css"/>
        <s:head />
    </head>
    <body>
        <div class="headerbg">
            <%@include file="/include/mHeader.jsp" %>
        </div>
        <div class="contentbg">
            <div class="content">
                <div class="adMenu">
                    <%@include file="/include/mMenu.jsp" %>
                </div>
                <div class="kpbg">
                    <div class="kpSelect">
                        <h1>Multiple-choice Online Knapsack Problem Algorithm</h1>
                        <p>Select a product from inventory, system will load its profit (without advertising cost) to the next form.</p>
                        <s:form action="kpUpload" namespace="/Administration/Bidding" method="post">
                            <s:select name="idProduct" label="Product ID - Name" list="revMap" listheaderKey="0" headerValue="Skip to Enter Yours" cssStyle="margin-left: 28px; width: 320px;"/>
                            <s:submit value="Next" cssStyle="width: 58px;"/>
                        </s:form>
                    </div>
                </div>
            </div>
        </div>
        <div class="footerbg">
            <%@include file="/include/iFooter.jsp" %>
        </div>
    </body>
</html>


